/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controller.web;

/**
 *
 * @author Hatta
 */
import business.ObatListing;
import business.Obat;
import business.Admin;
import java.io.IOException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;

public class ObatView extends Servlet{
    private Admin admin;

    public ObatView() {
        super();
        setTemplate("/WEB-INF/ObatView.jsp");
    }

    @Override
    protected void process() {
      setMessage("");
                    ObatListing dl = new ObatListing();
                    String ids = getRequest().getParameter("kode");
                    Long kode = Long.parseLong(ids);
                            dl.getObatId(kode);
    }
}
